import axios from "../utils/request";
// 挂号管理
// 挂号管理-获取挂号列表
export const registerListReq = (params) =>
  axios({
    url: "/register/list",
    params,
    method: "get",
  });
//查询
export const registerSearchReq = (params) =>
  axios({
    url: "/register/search",
    params,
    method: "get",
  });
// 根据挂号单id获取挂号单详情
export const registerGetbyidReq = (params) =>
  axios({
    url: "/register/getbyid",
    params,
    method: "get",
  });
// 删除挂号单
export const registerDelReq = (params) =>
  axios({
    url: "/register/del",
    params,
    method: "get",
  });
// 批量删除挂号单
export const registerBatchdelReq = (data) =>
  axios({
    url: "/register/batchdel",
    data,
    method: "post",
  });
